export  default [
  {
    path: '/login',
    name: 'Login',
    component: () => import('@/views/Login')
  },
  {
    path: '/article',
    name: 'Article',
    component: ()=>import('@/views/Article')
  },
  {
    path: '/personal',
    name: 'Personal',
    component: ()=>import('@/views/Personal'),
  },

  {
    path: '/welcome',
    name: 'Welcome',
    component: ()=>import('@/views/Welcome')
  },

  {
    path: '/detail/:id',
    name: 'Detail',
    component: ()=>import('@/views/Detail')
  },
  {
    path:'/personModify', //个人信息修改
    name:"PersonModify",
    component:()=>import('@/views/PersonModify')
  },
  {
    path:'/collection', //收藏
    name:"Collection",
    component:()=>import('@/views/Collection')
  },
  {
    path:'/comment', //评论
    name:"Comment",
    component:()=>import('@/views/Comment')
  },
  {
    path:'/agree', //点赞
    name:"Agree",
    component:()=>import('@/views/Agree')
  },
  {
    path: '/personal2',
    name: 'Personal2',
    component: ()=>import('@/views/Personal2'),
  },
  {
    path: '/noArticle',//404页面
    name: 'NoArticle',
    component: ()=>import('@/views/NoArticle')
  },
  {
    path:'/', //默认路由
    redirect:'/login',//redirect重定向

  },
 // toPersonModify

]


